# 9.12

from user_2 import User

class Admin(User):
    def __init__(self,first_name,last_name,location,telephone):
        super().__init__(first_name,last_name,location,telephone)
        self.privileges = privileges()

class privileges:
    def __init__(self,privildeges=[]):
        self.privileges = privileges

    def show_privileges(self):
        print("\nPrivileges:")
        if self.privileges:
            for privilege in self.privileges:
                print(f"-{privilege}")
        else:
            print('This user has no privilages.')